package com.miracle.java2110.mapper;

import com.miracle.java2110.pojo.Employeemanager;
import com.miracle.java2110.pojo.EmployeemanagerExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface EmployeemanagerMapper {
    long countByExample(EmployeemanagerExample example);

    int deleteByExample(EmployeemanagerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Employeemanager record);

    int insertSelective(Employeemanager record);

    List<Employeemanager> selectByExample(EmployeemanagerExample example);

    Employeemanager selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Employeemanager record, @Param("example") EmployeemanagerExample example);

    int updateByExample(@Param("record") Employeemanager record, @Param("example") EmployeemanagerExample example);

    int updateByPrimaryKeySelective(Employeemanager record);

    int updateByPrimaryKey(Employeemanager record);
//    写的
    List<Employeemanager> selectByParams(Map<String, Object> params);

    List<Employeemanager> selectAllEmployeemanger();
}